import {combineReducers,applyMiddleware,legacy_createStore} from "redux"
import logger  from "redux-logger"
import thunk from "redux-thunk"
import reducer from "./reducer/index"

const reducers =combineReducers({
    reducer
})
const store = legacy_createStore(reducers,applyMiddleware(thunk,logger))
export default store